package com.rxb.blog.mapper;

import com.rxb.blog.entity.FileEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Author：rxb
 * Date：2020-02-26 20:24
 * Description：<描述>
 */
@Repository
public interface ArticlePictureMapper {

   void  insertFile(@Param("file") FileEntity fileEntity);

    void updateFile(@Param("file") FileEntity fileEntity);

    void deleteArticlePicture(@Param("picture_id") Integer picture_id);

    List<String> getAllPicUrls();
}
